package com.cloudbroker.bcs.platform.ltb.middle.service;

import com.cloudbroker.bcs.common.service.base.ServiceBase;
import com.cloudbroker.bcs.platform.ltb.bizapi.constants.type.MsgType;
import com.cloudbroker.bcs.platform.ltb.middle.entity.Msg;
import com.cloudbroker.bcs.platform.ltb.middle.entityview.MsgGroupCountParam;
import com.cloudbroker.bcs.platform.ltb.middle.entityview.MsgGroupCountView;
import com.cloudbroker.bcs.platform.ltb.middle.entityview.MsgListParam;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * Created by daibd19671 on 2016/12/28.
 */
@Service
public interface MsgService  extends ServiceBase<Msg,String> {

    List<MsgGroupCountView> groupCount(MsgGroupCountParam param);
    List<Msg> queryByType(MsgListParam msg);
    List<Msg> queryCombine(MsgListParam msg);

    List<Msg> groupLastMsg(MsgGroupCountParam param);
}
